package cn.cboard.model;

public class Authorization {
	private Long userId;
	public Authorization(Long userId){
		this.userId = userId;
	}
    public Long getUserId(){
    	return userId;
    }
    public boolean isAnonymous(){
    	Long uid = new Long(-1);
    	return userId.equals(uid);
    }
}
